package com.charon.auth.common.abstraction;


import com.charon.auth.common.base.BaseCodeProperties;

/**
 * @Description 短信验证码配置
 * @Author Charon [248135724@qq.com]
 * @Date 2019/2/6 18:25
 * @Version 1.0
 */
public abstract class AbstractSMSCodeProperties implements BaseCodeProperties {

    /**
     * Description: 获取需要拦截的链接
     * <p>Author: Charon [248135724@qq.com]
     * @Date 2019/2/6 22:24
     * @param
     * @return java.lang.String[]
     */
    public abstract String[] getUrls();

    /**
     * Description: 设置需要拦截的链接
     * <p>Author: Charon [248135724@qq.com]
     * @Date 2019/2/6 22:24
     * @param urls
     * @return void
     */
    public abstract void setUrls(String... urls);

    /**
     * Description: 获取过期时间
     * <p>Author: Charon [248135724@qq.com]
     * @Date 2019/1/31 21:30
     * @param
     * @return int 多少秒后过期
     */
    public abstract int getExpire();

}
